import { request } from 'ngfe-request'

// 汇率变化报表
export function excRateChange(params: any) {
  return request('/excRateChange', {
    method: 'POST',
    mode: 'cors',
    data: {
      sysHead: {
        stdSvcInd: 'ReportSVC',
        stdIntfcInd: 'excRateChange',
        stdIntfcVerNo: '1.0.0',
        srcConsmSysInd: 'DAM',
      },
      body: {
        ...params,
      },
    },
  })
}

// 今日资金流动报表
export function liquidityStats(params: any) {
  return request('/liquidityStats', {
    method: 'POST',
    mode: 'cors',
    data: {
      sysHead: {
        stdSvcInd: 'ReportSVC',
        stdIntfcInd: 'liquidityStats',
        stdIntfcVerNo: '1.0.0',
        srcConsmSysInd: 'DAM',
      },
      body: {
        ...params,
      },
    },
  })
}

// 首页其他报表统计
export function otherReportStats(params: any) {
  return request('/otherReportStats', {
    method: 'POST',
    mode: 'cors',
    data: {
      sysHead: {
        stdSvcInd: 'ReportSVC',
        stdIntfcInd: 'otherReportStats',
        stdIntfcVerNo: '1.0.0',
        srcConsmSysInd: 'DAM',
      },
      body: {
        ...params,
      },
    },
  })
}